home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Games / Saga / source / animtools_proto.h < prev    next >
C/C++ Source or Header  |  2002-10-27  |  2KB  |  45 lines

  1. /* animtools_proto.h
  2.  
  3. Copyright (c) 1992 Commodore-Amiga, Inc.
  4.  
  5. This example is provided in electronic form by Commodore-Amiga, Inc. for
  6. use with the "Amiga ROM Kernel Reference Manual: Libraries", 3rd Edition,
  7. published by Addison-Wesley (ISBN 0-201-56774-1).
  8.  
  9. The "Amiga ROM Kernel Reference Manual: Libraries" contains additional
  10. information on the correct usage of the techniques and operating system
  11. functions presented in these examples.  The source and executable code
  12. of these examples may only be distributed in free electronic form, via
  13. bulletin board or as part of a fully non-commercial and freely
  14. redistributable diskette.  Both the source and executable code (including
  15. comments) must be included, without modification, in any copy.  This
  16. example may not be published in printed form or distributed with any
  17. commercial product.  However, the programming techniques and support
  18. routines set forth in these examples may be used in the development
  19. of original executable software products for Commodore Amiga computers.
  20.  
  21. All other rights reserved.
  22.  
  23. This example is provided "as-is" and is subject to change; no
  24. warranties are made.  All use is at your own risk. No liability or
  25. responsibility is assumed.
  26.  
  27. */
  28.  
  29. #include        <clib/dos_protos.h>
  30. #include        <clib/exec_protos.h>
  31. #include        <clib/graphics_protos.h>
  32. #include        <clib/intuition_protos.h>
  33.  
  34. struct GelsInfo *setupGelSys(struct RastPort *rPort, BYTE reserved);
  35. VOID            cleanupGelSys(struct GelsInfo *gInfo, struct RastPort *rPort);
  36. struct VSprite  *makeVSprite(NEWVSPRITE *nVSprite);
  37. struct Bob      *makeBob(NEWBOB *nBob);
  38. struct AnimComp *makeComp(NEWBOB *nBob, NEWANIMCOMP *nAnimComp);
  39. struct AnimComp *makeSeq(NEWBOB *nBob, NEWANIMSEQ *nAnimSeq);
  40. VOID            freeVSprite(struct VSprite *vsprite);
  41. VOID            freeBob(struct Bob *bob, LONG rasdepth);
  42. VOID            freeComp(struct AnimComp *myComp, LONG rasdepth);
  43. VOID            freeSeq(struct AnimComp *headComp, LONG rasdepth);
  44. VOID            freeOb(struct AnimOb *headOb, LONG rasdepth);
  45.